package cn.wanho.util;

import cn.hutool.crypto.digest.DigestUtil;

/**
 * @author heyang
 */
public class PassEnDeUtil {

    private static final String STR ="wanhowanho";

    public static String encoder(String password, String salt){
        String md5Pass = DigestUtil.md5Hex(password);
        return DigestUtil.md5Hex( STR+ md5Pass +salt);
    }
}
